package com.qingmi.farmer.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * 生资订单
 */
public class GoodsOrder {

    //订单Id
    @SerializedName("OrderId")
    private String orderId;

    //预定Id
    @SerializedName("ResponseGoodId")
    private String responseGoodId;

    //订单ID
    @SerializedName("OrderNo")
    private String orderNo;

    //执行价格
    @SerializedName("DealPrice")
    private double price;

    //状态
    @SerializedName("StatusId")
    private int statusId;

    //预定购买数量
    @SerializedName("ReserveNum")
    private int reserveNum;

    //确定购买数量
    @SerializedName("ConfirmNum")
    private int confirmNum;

    //已成交数量
    @SerializedName("HasBuyNum")
    private int hasBuyNum;

    //未成交数量
    @SerializedName("NotBuyNum")
    private int notBuyNum;

    //购买时间
    @SerializedName("BuyAt")
    private long buyAt;

    //确定时间
    @SerializedName("ConfirmAt")
    private long confirmAt;

    //审核时间
    @SerializedName("ApplyAt")
    private long applyAt;

    //总价格
    @SerializedName("TotalMoney")
    private double totalMoney;

    //运费
    @SerializedName("Freight")
    private double freight;

    @SerializedName("Good")
    private GoodsInfo good;


    //运输方式 1 快递 2 物流 3 自提 4 自运
    @SerializedName("TransportTypeId")
    private int transportTypeId;

    @SerializedName("Address")
    private Address address;

    @SerializedName("LogisticsNo")
    private String logisticsNo;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getResponseGoodId() {
        return responseGoodId;
    }

    public void setResponseGoodId(String responseGoodId) {
        this.responseGoodId = responseGoodId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    public int getReserveNum() {
        return reserveNum;
    }

    public void setReserveNum(int reserveNum) {
        this.reserveNum = reserveNum;
    }

    public long getBuyAt() {
        return buyAt;
    }

    public void setBuyAt(long buyAt) {
        this.buyAt = buyAt;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public double getFreight() {
        return freight;
    }

    public void setFreight(double freight) {
        this.freight = freight;
    }

    public GoodsInfo getGood() {
        return good;
    }

    public void setGood(GoodsInfo good) {
        this.good = good;
    }

    public int getTransportTypeId() {
        return transportTypeId;
    }

    public void setTransportTypeId(int transportTypeId) {
        this.transportTypeId = transportTypeId;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public int getConfirmNum() {
        return confirmNum;
    }

    public void setConfirmNum(int confirmNum) {
        this.confirmNum = confirmNum;
    }

    public int getHasBuyNum() {
        return hasBuyNum;
    }

    public void setHasBuyNum(int hasBuyNum) {
        this.hasBuyNum = hasBuyNum;
    }

    public int getNotBuyNum() {
        return notBuyNum;
    }

    public void setNotBuyNum(int notBuyNum) {
        this.notBuyNum = notBuyNum;
    }

    public String getLogisticsNo() {
        return logisticsNo;
    }

    public void setLogisticsNo(String logisticsNo) {
        this.logisticsNo = logisticsNo;
    }

    public long getConfirmAt() {
        return confirmAt;
    }

    public void setConfirmAt(long confirmAt) {
        this.confirmAt = confirmAt;
    }

    public long getApplyAt() {
        return applyAt;
    }

    public void setApplyAt(long applyAt) {
        this.applyAt = applyAt;
    }
}
